import Vue from 'vue'
import App from './App.vue'
import router from './router'
// import './elementUI'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from './api/axiosApi' // 经过封装处理的axiosApi

Vue.config.productionTip = true

Vue.use(ElementUI)
// 全局参数
Vue.prototype.$http = axios

// 视频播放插件
import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
Vue.use(VideoPlayer)

new Vue({
  router,
  render: render => render(App),
}).$mount('#app')
